//
//  HSYCustomArcView+Animation.h
//  CustomNavigationController
//
//  Created by key on 2017/2/22.
//  Copyright © 2017年 huangsongyao. All rights reserved.
//

#import "HSYCustomArcView.h"

@interface HSYCustomArcView (Animation)<CAAnimationDelegate>

- (void)addArcAnimationByDuration:(NSTimeInterval)duration toValue:(CGFloat)value;
- (void)addArcAnimationToValue:(CGFloat)value;
+ (CABasicAnimation *)animationByKeyPath:(NSString *)key animationDuration:(NSTimeInterval)duration toValue:(CGFloat)value delegate:(id<CAAnimationDelegate>)delgate;
+ (NSTimeInterval)readDurationByValue:(CGFloat)value;

@end
